package xyz.zhno.upload.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import xyz.zhno.upload.entity.File;

/**
 * 文件业务层
 * @author zh_o
 * @date 2020-12-08
 */
public interface FileService extends IService<File> {

    /**
     * 文件上传
     * @param file 文件
     */
    void upload(MultipartFile file) throws Exception;

}
